<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>KSYMETransitionEditor Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">KSYMediaEditorKit </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">Kingsoft</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/videoList">videoList</option>
		
	</optgroup>
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/concatVideosWithOutUrl:resolution:videoBitrate:audioBitrate:progressCB:errorCB:finishCB:">- concatVideosWithOutUrl:resolution:videoBitrate:audioBitrate:progressCB:errorCB:finishCB:</option>
		
		<option value="//api/name/initWithVideoList:">- initWithVideoList:</option>
		
		<option value="//api/name/previewView">- previewView</option>
		
		<option value="//api/name/setTransitionWithIdx:type:overlapType:overlapDuration:">- setTransitionWithIdx:type:overlapType:overlapDuration:</option>
		
		<option value="//api/name/startPreviewOn:loop:">- startPreviewOn:loop:</option>
		
		<option value="//api/name/stopPreview">- stopPreview</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">KSYMETransitionEditor Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>KSYMETransitionEditor.h</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/initWithVideoList:" title="initWithVideoList:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithVideoList:">&ndash;&nbsp;initWithVideoList:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			

			<div class="method-subsection method-declaration"><code>- (instancetype)initWithVideoList:(NSArray&lt;NSURL*&gt; *)<em>videoList</em></code></div>

		    
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/videoList" title="videoList"></a>
	<h3 class="method-title"><code><a href="#//api/name/videoList">&nbsp;&nbsp;videoList</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>@abstract
     setVideoList will update current preview video list</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) NSArray&lt;NSURL*&gt; *videoList</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">KSYMETransitionEditor.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/startPreviewOn:loop:" title="startPreviewOn:loop:"></a>
	<h3 class="method-title"><code><a href="#//api/name/startPreviewOn:loop:">&ndash;&nbsp;startPreviewOn:loop:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>@abstract
     将预览视图添加至指定的view上并开始预览</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)startPreviewOn:(UIView *)<em>view</em> loop:(BOOL)<em>loop</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p>preview 视图将要被添加到的父视图, 预览窗口将使用父视图作为大小</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>loop</code></th>
						<td><p>是否循环播放</p>

<p>@discussion
     默认情况下会loop播放所有视频列表中的视频</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">KSYMETransitionEditor.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/stopPreview" title="stopPreview"></a>
	<h3 class="method-title"><code><a href="#//api/name/stopPreview">&ndash;&nbsp;stopPreview</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>@abstract
     停止预览</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)stopPreview</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">KSYMETransitionEditor.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/previewView" title="previewView"></a>
	<h3 class="method-title"><code><a href="#//api/name/previewView">&ndash;&nbsp;previewView</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>@abstract
     获取预览视图
@discussion
     预览视图默认参考父视图大小及位置，可以通过设置previewView的frame进行修改</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (KSYGPUView *)previewView</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">KSYMETransitionEditor.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setTransitionWithIdx:type:overlapType:overlapDuration:" title="setTransitionWithIdx:type:overlapType:overlapDuration:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setTransitionWithIdx:type:overlapType:overlapDuration:">&ndash;&nbsp;setTransitionWithIdx:type:overlapType:overlapDuration:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			

			<div class="method-subsection method-declaration"><code>- (void)setTransitionWithIdx:(NSInteger)<em>idx</em> type:(KSYTransitionType)<em>transType</em> overlapType:(KSYOverlapType)<em>overlapType</em> overlapDuration:(CGFloat)<em>duration</em></code></div>

		    
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/concatVideosWithOutUrl:resolution:videoBitrate:audioBitrate:progressCB:errorCB:finishCB:" title="concatVideosWithOutUrl:resolution:videoBitrate:audioBitrate:progressCB:errorCB:finishCB:"></a>
	<h3 class="method-title"><code><a href="#//api/name/concatVideosWithOutUrl:resolution:videoBitrate:audioBitrate:progressCB:errorCB:finishCB:">&ndash;&nbsp;concatVideosWithOutUrl:resolution:videoBitrate:audioBitrate:progressCB:errorCB:finishCB:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			

			<div class="method-subsection method-declaration"><code>- (void)concatVideosWithOutUrl:(NSURL *)<em>url</em> resolution:(CGSize)<em>resolution</em> videoBitrate:(NSInteger)<em>vb</em> audioBitrate:(NSInteger)<em>ab</em> progressCB:(void ( ^ ) ( CGFloat progress ))<em>progress</em> errorCB:(void ( ^ ) ( int errorCode , NSString *errInfo ))<em>error</em> finishCB:(void ( ^ ) ( NSURL *outURL ))<em>finish</em></code></div>

		    
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2018 Kingsoft. All rights reserved. Updated: 2018-02-09</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>